projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43b6f05
)
* Do not crash if the output directory is created in the meanwhile
author
AndreaCorallo
<akrl@sdf.org>
Tue, 3 Mar 2020 23:06:46 +0000
(23:06 +0000)
committer
Andrea Corallo
<akrl@sdf.org>
Tue, 3 Mar 2020 23:06:46 +0000
(23:06 +0000)
lisp/emacs-lisp/comp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/comp.el
b/lisp/emacs-lisp/comp.el
index 342faa2879e535a8af7dfb77294b301d392f0d50..f16aa59dc5e8bf98f4ed06a33ad6450cf901c946 100644
(file)
--- a/
lisp/emacs-lisp/comp.el
+++ b/
lisp/emacs-lisp/comp.el
@@
-2013,7
+2013,9
@@
Prepare every function for final compilation and drive the C back-end."
(let ((dir (file-name-directory name)))
(comp-finalize-relocs)
(unless (file-exists-p dir)
- (make-directory dir))
+ ;; In case it's created in the meanwhile.
+ (ignore-error 'file-already-exists
+ (make-directory dir)))
(unless comp-dry-run
(comp--compile-ctxt-to-file name))))